package com.gitee.maskit.web;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;
import java.util.Map;

/**
 * @author z0228
 */
@Data
@ConfigurationProperties(prefix = MaskitWebProperties.PREFIX)
public class MaskitWebProperties {
    static final String PREFIX = "maskit.web";
    private List<String> messages = null;

    private MaskitException exception = new MaskitException();

    @Data
    public static class MaskitException {
        private Map<Integer, List<Class>> statuses;
        private List<Class> ignoreCauses;
    }
}
